﻿<%@ Page Language="C#" MasterPageFile="~/Globals/GenericMasterPage.master" AutoEventWireup="true" CodeFile="RegistrarRecepcionPedidoProveedor.aspx.cs" Inherits="Modules_Compras_RegistrarRecepcionPedidoProveedor" Title="Untitled Page" %>

<%@ Register Src="../../Controls/TecnoPezPopUp.ascx" TagName="TecnoPezPopUp" TagPrefix="uc3" %>
<%@ Register Src="../../Controls/TecnoPezCalendar.ascx" TagName="TecnoPezCalendar"
    TagPrefix="uc4" %>

<%@ Register Src="../../Controls/TecnopezDataGRIDABMView.ascx" TagName="TecnopezDataGRIDABMView"
    TagPrefix="uc2" %>

<%@ Register Src="../../Controls/TecnoPezUpdateProgress.ascx" TagName="TecnoPezUpdateProgress"
    TagPrefix="uc1" %>

<%@ Register Assembly="Microsoft.Practices.EnterpriseLibrary.Validation.Integration.AspNet"
    Namespace="Microsoft.Practices.EnterpriseLibrary.Validation.Integration.AspNet"
    TagPrefix="cc1" %>
    
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="act" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CPHPrincipal" Runat="Server">
    <asp:ScriptManager ID="ScriptManagerEnfermedades" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanelEnfermedades" runat="server" UpdateMode="Conditional">
        <ContentTemplate>
<asp:Wizard id="wzrABM" runat="server" ActiveStepIndex="1" BorderColor="#B5C7DE" BorderWidth="0px" Font-Names="Verdana" Font-Size="0.8em" DisplaySideBar="False">
<StepStyle ForeColor="#333333" Font-Size="0.8em" VerticalAlign="Top"></StepStyle>

<SideBarStyle BackColor="#507CD1" Font-Size="0.9em" VerticalAlign="Top"></SideBarStyle>

<NavigationButtonStyle BackColor="White" BorderStyle="Solid" ForeColor="#284E98" BorderWidth="1px" BorderColor="#507CD1" Font-Size="0.8em" Font-Names="Verdana"></NavigationButtonStyle>
<WizardSteps>
<asp:WizardStep runat="server" ID="wzrBusqueda" Title="Busqueda" StepType="Complete"><TABLE style="WIDTH: 100%" id="Table1" cellSpacing=0><TBODY><TR><TD class="cabeceraTabla" colSpan=3>Buscar&nbsp;Pedidos de Proveedores</TD></TR><TR><TD style="WIDTH: 200px" class="columnaLabels"><asp:Label runat="server" Text="C&#243;digo" Width="200px" ID="lblBuscarCodigo" __designer:wfdid="w12"></asp:Label>


 </TD><TD style="WIDTH: 210px" class="columnaData"><asp:TextBox runat="server" Width="200px" ID="txtBuscarCodigo" __designer:wfdid="w13"></asp:TextBox>


 </TD><TD vAlign=top rowSpan=2><asp:Button runat="server" ID="cmdBuscar" Width="102px" CssClass="Boton" Text="Buscar" Height="23px" BorderStyle="None" __designer:wfdid="w14"></asp:Button>


 </TD></TR><TR><TD style="WIDTH: 200px" class="columnaLabels"><asp:Label runat="server" Text="Proveedor" Width="200px" ID="Label14" __designer:wfdid="w16"></asp:Label>


 </TD><TD style="WIDTH: 210px" class="columnaData"><asp:DropDownList runat="server" ID="ddlProveedor" __designer:wfdid="w17"></asp:DropDownList>


 </TD></TR><TR><TD colSpan=3><BR /><BR /><uc2:TecnopezDataGRIDABMView runat="server" ID="grdPedidosProveedor" __designer:wfdid="w18"></uc2:TecnopezDataGRIDABMView>


 </TD></TR></TBODY></TABLE></asp:WizardStep>
<asp:WizardStep runat="server" ID="wzrEdicion" Title="Edicion" StepType="Complete"><TABLE cellSpacing=0 width="100%"><TBODY><TR><TD style="HEIGHT: 20px" class="cabeceraTabla" colSpan=4>Datos del Pedido</TD></TR><TR><TD style="WIDTH: 250px; HEIGHT: 26px" class="columnaLabels"><asp:Label runat="server" Text="C&#243;digo" Width="200px" ID="Label1" __designer:wfdid="w45"></asp:Label>
 </TD><TD style="WIDTH: 205px; HEIGHT: 26px" class="columnaData"><asp:TextBox runat="server" Width="200px" ID="txtID" __designer:wfdid="w46"></asp:TextBox>
 </TD><TD style="WIDTH: 1px; HEIGHT: 26px" class="columnaData">&nbsp;</TD><TD style="WIDTH: 7px" vAlign=top rowSpan=3></TD></TR><TR><TD style="WIDTH: 200px" class="columnaLabels"><asp:Label runat="server" Text="Proveedor" Width="200px" ID="Label2" __designer:wfdid="w47"></asp:Label>
 </TD><TD style="WIDTH: 205px" class="columnaData"><asp:TextBox runat="server" Width="200px" ID="txtProveedor" __designer:wfdid="w48"></asp:TextBox>
 </TD><TD style="WIDTH: 1px" class="columnaData">&nbsp;</TD></TR><TR><TD style="WIDTH: 200px" class="columnaLabels" vAlign=top><asp:Label runat="server" Text="Fecha Carga" Width="200px" ID="Label3" __designer:wfdid="w49"></asp:Label>
 </TD><TD style="WIDTH: 205px" class="columnaData" vAlign=top><asp:TextBox runat="server" Width="200px" ID="txtFechaCarga" __designer:wfdid="w50"></asp:TextBox>
 </TD><TD style="WIDTH: 1px" class="columnaData" vAlign=top>&nbsp;</TD></TR><TR><TD style="WIDTH: 200px" class="columnaLabels" vAlign=top><asp:Label runat="server" Text="Empleado" Width="200px" ID="Label5" __designer:wfdid="w51"></asp:Label>
 </TD><TD style="WIDTH: 205px" class="columnaData" vAlign=top><asp:TextBox runat="server" Width="200px" ID="txtEmpleado" __designer:wfdid="w52"></asp:TextBox>
 </TD><TD style="WIDTH: 1px" class="columnaData" vAlign=top>&nbsp;</TD><TD style="WIDTH: 7px" vAlign=bottom></TD></TR><TR><TD style="WIDTH: 200px" class="columnaLabels" vAlign=top><asp:Label runat="server" Text="Estado" Width="200px" ID="Label6" __designer:wfdid="w53"></asp:Label>
 </TD><TD style="WIDTH: 205px" class="columnaData" vAlign=top><asp:TextBox runat="server" Width="200px" ID="txtEstado" __designer:wfdid="w54"></asp:TextBox>
 </TD><TD style="WIDTH: 1px" class="columnaData" vAlign=top>&nbsp;</TD><TD style="WIDTH: 7px" vAlign=bottom>&nbsp; </TD></TR><TR><TD style="WIDTH: 200px" class="columnaLabels" vAlign=top><asp:Label runat="server" Text="Moneda" ID="Label7" __designer:wfdid="w55"></asp:Label>
 </TD><TD style="WIDTH: 205px" class="columnaData" vAlign=top><asp:TextBox runat="server" Width="200px" ID="txtMoneda" __designer:wfdid="w56"></asp:TextBox>
 </TD><TD style="WIDTH: 1px" class="columnaData" vAlign=top>&nbsp;</TD><TD style="WIDTH: 7px" vAlign=bottom rowSpan=2><asp:Button runat="server" ID="btnAceptar" Width="102px" CssClass="Boton" Text="Aceptar" Height="23px" __designer:wfdid="w57" OnClick="btnAceptar_Click"></asp:Button>
 <asp:Button runat="server" ID="cmdCancelar" Width="102px" CssClass="Boton" Text="Cancelar" Height="23px" CausesValidation="False" __designer:wfdid="w58" OnClick="cmdCancelar_Click"></asp:Button>
 </TD></TR><TR><TD style="WIDTH: 200px" class="columnaLabels" vAlign=top><asp:Label runat="server" Text="Total" ID="Label8" __designer:wfdid="w59"></asp:Label>
 </TD><TD style="WIDTH: 205px" class="columnaData" vAlign=top><asp:TextBox runat="server" ID="txtTotal" __designer:wfdid="w60"></asp:TextBox>
 </TD><TD style="WIDTH: 1px" class="columnaData" vAlign=top>&nbsp;</TD></TR><TR><TD style="HEIGHT: 25px" vAlign=top colSpan=2><asp:Label runat="server" CssClass="errorLabel" ID="_lblError" __designer:wfdid="w61"></asp:Label>
 </TD><TD style="WIDTH: 1px; HEIGHT: 25px" vAlign=top colSpan=1></TD><TD style="WIDTH: 7px; HEIGHT: 25px" vAlign=top></TD></TR><TR><TD style="HEIGHT: 25px" vAlign=top colSpan=2>&nbsp; </TD><TD style="WIDTH: 1px; HEIGHT: 25px" vAlign=top colSpan=1></TD><TD style="WIDTH: 7px; HEIGHT: 25px" vAlign=top></TD></TR><TR><TD style="HEIGHT: 20px" class="cabeceraTabla" vAlign=top colSpan=4>Detalle del Pedido</TD></TR><TR><TD style="HEIGHT: 25px" class="columnaLabels" vAlign=top><asp:Label runat="server" Text="Insumo" ID="Label9" __designer:wfdid="w63"></asp:Label>
 </TD><TD style="HEIGHT: 25px" class="columnaData" vAlign=top><asp:DropDownList runat="server" ID="ddlInsumo" __designer:wfdid="w64"></asp:DropDownList>
 </TD><TD style="WIDTH: 1px; HEIGHT: 25px" class="columnaData" vAlign=top colSpan=1>&nbsp;</TD><TD style="WIDTH: 7px; HEIGHT: 25px" vAlign=top></TD></TR><TR><TD style="HEIGHT: 25px" class="columnaLabels" vAlign=top><asp:Label runat="server" Text="Cantidad recibida" ID="Label10" __designer:wfdid="w65"></asp:Label>
 </TD><TD style="HEIGHT: 25px" class="columnaData" vAlign=top><asp:TextBox runat="server" ID="txtCantidad" __designer:wfdid="w66"></asp:TextBox>
 </TD><TD style="WIDTH: 1px; HEIGHT: 25px" class="columnaData" vAlign=top colSpan=1>&nbsp;</TD><TD style="WIDTH: 7px; HEIGHT: 25px" vAlign=top><asp:Button runat="server" ID="cmdAgregarDetalle" Width="102px" CssClass="Boton" Text="Agregar" Height="23px" __designer:wfdid="w67" OnClick="cmdAgregarDetalle_Click"></asp:Button>
 </TD></TR><TR><TD style="HEIGHT: 25px" class="columnaLabels" vAlign=top colSpan=4><uc2:TecnopezDataGRIDABMView runat="server" ID="grdDetallePedido" __designer:wfdid="w68"></uc2:TecnopezDataGRIDABMView>
 </TD></TR><TR><TD style="HEIGHT: 25px" vAlign=top colSpan=4><asp:Label runat="server" CssClass="errorLabel" ID="_lblErrorDetalle" __designer:wfdid="w69"></asp:Label>
 </TD></TR></TBODY></TABLE></asp:WizardStep>
</WizardSteps>

<SideBarButtonStyle BackColor="#507CD1" ForeColor="White" Font-Names="Verdana"></SideBarButtonStyle>

<HeaderStyle BackColor="#284E98" BorderStyle="Solid" ForeColor="White" BorderWidth="2px" BorderColor="#EFF3FB" HorizontalAlign="Center" Font-Size="0.9em" Font-Bold="True"></HeaderStyle>
</asp:Wizard> 
</ContentTemplate>
    </asp:UpdatePanel>
    <uc1:TecnoPezUpdateProgress ID="TecnoPezUpdateProgress1" runat="server" />
</asp:Content>